package com.bw.base.constants

object ApiConst {
    const val BASE_URL = "http://10.161.9.80:2207"
    const val PARAM_TOKEN = "token"
    const val PARAM_ACCESS_ID = "accessId"

    //登录相关
    const val URL_LOGIN = "/api/user/login"
    const val URL_REGISTER = "/api/user/register"

    //公告相关
    const val URL_GET_CEMENTS = "/api/announcements"
    const val URL_GET_CEMENTS_BY_UID = "/api/announcements/getAnnouncementByUserId"


    //消息相关
    const val URL_GET_MESSAGE = "/api/messages"

    //停车缴费相关   | 车辆管理
    const val URL_GET_PARKING_PAY = "/api/parking-payments"

    const val URL_POST_ADD_CAR = "/api/vehicles"

    const val URL_POST_PAY_CAR = "/api/parking-payments"

    //车位相关
    const val URL_GET_CAR_PACK_BY_AREA = "/api/parking-spaces/area/{areaId}"
    const val URL_POST_ADD_PACK = "/api/parking-spaces"
    const val URL_DELETE_PACK = "/api/parking-spaces/{id}"

    //巡逻相关
    const val URL_GET_PATROL = "/api/inspection-orders"

    //管理设备
    const val URL_GET_DEVICE = "/api/devices"
    const val URL_POST_DEVICE = "/api/devices"  //创建设备信息
    const val URL_DELETE_DEVICE = "/api/devices/{id}"

    //巡检相关
    const val URL_GET_PALLING = "/api/patrol-points" // get 请求
    const val URL_ADD_PALLING = "/api/patrol-points"  //接口有问题 post 请求
    const val URL_DELETE_PALLING = "/api/patrol-points/{id}" // 删除

    //访客相关
    const val URL_GET_VISITOR = "/api/visit-appointments"
    const val URL_POSH_ADD_VISITOR = "/api/visit-appointments"
    const val URL_DELETE_VISITOR = "/api/visit-appointments/{id}"

    //月卡相关
    const val URL_GET_MEMBER = "/memberships/{userId}"


    //房源相关
    const val URL_GET_HOUSE="/api/properties"

    //维修相关
    const val URL_GET_REPAIR = "/api/repair-orders"
    const val URL_POST_REPAIR = "/api/repair-orders"
    const val URL_DELETE_REPAIR = "/api/repair-orders/{id}"


    //商家相关
    const val URL_GET_MERCHANT = "/api/merchant-applications"
    const val URL_GET_MERCHANT_PROFILES = "/api/enterprise-profiles"
    const val URL_POST_MERCHANT = "/api/merchant-applications"

    //考勤
    const val URL_GET_Click = "/api/attendances/user/{userId}"
    const val POST_Click = "/api/attendances" // 增加考勤


    //收银 账单
    const val URL_GET_Counter = "/api/bills/payer/{payerId}"
    const val URL_GET_Count_Detail = "/api/bills/{id}"  //账单详情
    const val URL_POST_AddCount = "/api/bills" //新增账单
    const val PATH_DELETE = "/api/bills/{id}" //删除
    //收费项目
    const val URL_GET_AllCharge = "/api/charge-items/payer/{payerId}"


    //文化相关
    const val URL_GET_NEW = "/api/news"
    const val URL_POST_ADD_NEW = "/api/news"

    //上传文件
    const val UPLOAD_FILE = "/api/file/upload"

    //获取字典
    const val URL_GET_DICTIONARIES = "/api/dictionaries/findByKey"

    //生成流水号
    const val URL_GET_SERIAL = "/api/serial-number"



}